package org.realteam.hibernate.test.annotation;

import java.lang.annotation.Annotation;

public class Client {
	
	public static void main(String[] args) {
		String pkgName = "com.platform.hibernate.test.annotation";
		
		Package pkg = Package.getPackage(pkgName);
		
		Annotation[] annotations = pkg.getAnnotations();
		
		for (Annotation annotation : annotations) {
			if (annotation instanceof PackageAnnotation) {
				System.out.println("Hi,I'm the PkgAnnotation ,which is be placed on package");
			}
		}
		
//		PkgClass pkgClass = new PkgClass();
//		
//		pkgClass.test();
//		
//		System.out.println(PkgConstants.PACAKGE_CONST);
	}
}
